package com.baba;

import com.baba.bracelet.service.ReportPushService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringBootVersion;
import org.springframework.core.SpringVersion;

/**
 * @author wulongbo
 * @version 1.0
 * @date 2020/5/29 10:20
 * @description
 */
public class VersionInfo {

    @Autowired
    private ReportPushService reportPushService;

    @Test
    public void TestspringVersionAndspringBootVersion (){

        String springVersion = SpringVersion.getVersion();
        System.out.println("springVersion:"+springVersion);
        String springBootVersion = SpringBootVersion.getVersion();
        System.out.println("springBootVersion:"+springBootVersion);
    }

}
